﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace ProjetoComperio.DataLayer.Entities
{
    public class Application : Contribution
    {
        [Required(ErrorMessageResourceName = "Required", ErrorMessageResourceType = typeof(ErrorMessages))]
        public virtual Boolean IsOpenSource { get; set; }

        [Required(ErrorMessageResourceName = "Required", ErrorMessageResourceType = typeof(ErrorMessages))]
        public virtual Boolean IsFree { get; set; }

        public virtual String UseInstructions { get; set; }

        public virtual ICollection<Platform> Platforms { get; set; }

    }
}
